package com.xiaoxu.content.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxu.content.model.dto.TeachplanDto;
import com.xiaoxu.content.model.po.Teachplan;

import java.util.List;

/**
 * <p>
 * 课程计划 Mapper 接口
 * </p>
 *
 * @author xiaoxu
 */
public interface TeachplanMapper extends BaseMapper<Teachplan> {

    /**
     * @description 查询某课程的课程计划，组成树型结构
     * @param courseId 课程Id
     * @return TeachplanDto
     * @author xiaoxu
     * @date 2023/91/17 21:10
     */
     List<TeachplanDto> selectTreeNodes(long courseId);

}
